<template>
  <div>
    <MyGoods v-for="item in list" :key="item.id" :title="item.name" :price="item.price" :desc="item.desc"/>
    
  </div>
</template>

<script>
import MyGoods from './components/MyGoods.vue'
  export default {
    components:{
      MyGoods
    },
    data() {
      return {
        list: [
        { id: 11, name: "潮汕粥", price: 99, desc: "营养美味" },
        { id: 33, name: "猪脚饭", price: 15, desc: "肥肥的" },
        { id: 39, name: "沙县小吃", price: 14, desc: "吃蒸饺和汤" },
        { id: 434, name: "自选快餐", price: 14, desc: "随便选" },
      ],
      }
    },
  }
</script>

<style>

</style>